<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="description" content="React SSR Demo">
    <meta name="theme-color" content="#000000">
    <title>React SSR Demo</title>
    <link rel="icon" href="/static/favicon.ico">
    <link rel="apple-touch-icon" href="/static/assets/logo192.png">
    <link rel="manifest" href="/static/manifest.json">
    <% assets.css.forEach(function(css) { %>
      <link rel="stylesheet" href="<%= css %>">
    <% }); %>
    <script>
      window.__INITIAL_STATE__ = <%- initialState %>;
    </script>
  </head>
  <body>
    <div id="root"><%- html %></div>
    <% assets.js.forEach(function(js) { %>
      <script src="<%= js %>"></script>
    <% }); %>
  </body>
</html> 